package com.hrrt.home.dao.mapper;

import com.hrrt.home.dao.model.HomeBrand;
import com.hrrt.home.dao.model.HomeBrandExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HomeBrandMapper {
    long countByExample(HomeBrandExample example);

    int deleteByExample(HomeBrandExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(HomeBrand record);

    int insertSelective(HomeBrand record);

    List<HomeBrand> selectByExample(HomeBrandExample example);

    HomeBrand selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") HomeBrand record, @Param("example") HomeBrandExample example);

    int updateByExample(@Param("record") HomeBrand record, @Param("example") HomeBrandExample example);

    int updateByPrimaryKeySelective(HomeBrand record);

    int updateByPrimaryKey(HomeBrand record);

    List<HomeBrand> selectByExampleWithName(HomeBrandExample homeBrandExample);

    List<HomeBrand> selectOrederByExampleWithName(HomeBrandExample homeBrandExample);
}